<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/page/share/taglib.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/css/style.css" />
</head>
<body>
<!-- 分页功能 start -->
<html:link action="/control/oa/adminAskList.do?page=1">首页</html:link>,
<c:forEach begin="${pageBean.beginPage}" end="${pageBean.endPage}" var="p">
<c:if test="${p == pageBean.nowPage}">第${p}页,</c:if>
<c:if test="${p != pageBean.nowPage}"><html:link action="/control/oa/adminAskList.do?page=${p}">第${p}页</html:link>,</c:if>
</c:forEach>
<html:link action="/control/oa/adminAskList.do?page=${pageBean.totalPage }">末页</html:link>
&nbsp;
总记录数：${pageBean.totalRecords},总页数：${pageBean.totalPage},每页显示:${pageBean.maxResult}
<!-- 分页功能 end -->
	<table class="table">
						<tr class= "row2">
							
							<td>申请单名称</td>
							<td>申请人</td>
							<td>审核状态</td>
							<td>申请时间</td>
							<td>审核操作</td>
							
						</tr>
						<c:forEach items="${datas}" var="data">
						<tr class= "row1">
							
							<td>${data.name}</td>
							<td>${data.askUser.username}</td>

							<td>${data.step}/ ${fn:length(data.workFlow.verifyGroups) }</td>
							<td>${data.askDate}</td>
							<td><html:link action="/control/oa/verifyAskUI.do?id=${data.id}">处理申请单</html:link>
							</td>
						</tr>
						</c:forEach>
	</table>
<!-- 分页功能 start -->
<html:link action="/control/oa/adminAskList.do?page=1">首页</html:link>,
<c:forEach begin="${pageBean.beginPage}" end="${pageBean.endPage}" var="p">
<c:if test="${p == pageBean.nowPage}">第${p}页,</c:if>
<c:if test="${p != pageBean.nowPage}"><html:link action="/control/oa/adminAskList.do?page=${p}">第${p}页</html:link>,</c:if>
</c:forEach>
<html:link action="/control/oa/adminAskList.do?page=${pageBean.totalPage }">末页</html:link>
&nbsp;
总记录数：${pageBean.totalRecords},总页数：${pageBean.totalPage},每页显示:${pageBean.maxResult}
<!-- 分页功能 end -->

</body>
</html>